package com.linkhub.oms.admin.modules.user.accountrecharge.domain.vo;

import com.linkhub.oms.entity.UserRechargeRecordEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 用户充值记录匹配VO
 * </p>
 *
 * @author Frank
 * @since 2024-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "UserRechargeRecordMatchVO", description = "用户充值记录匹配VO")
@NoArgsConstructor
public class UserRechargeRecordMatchVO implements Serializable {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "交易id")
    private String transactionId;

    @ApiModelProperty(value = "付款卡_银行卡号")
    private String payCardNumber;

    @ApiModelProperty(value = "到账银行流水号_财务审核")
    private String receivedBankStatement;

    public UserRechargeRecordMatchVO(UserRechargeRecordEntity entity) {
        this.id = entity.getId();
        this.transactionId = entity.getTransactionId();
        this.payCardNumber = entity.getPayCardNumber();
        this.receivedBankStatement = entity.getReceivedBankStatement();
    }
}
